package org.ydsw.data.manage.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author admin
 */
@Data
public class PageVo<T> {

    private long total;

    private List<T> rows = new ArrayList<>();

    public PageVo(long total, List<T> data) {
        this.total = total;
        this.rows = data;
    }
}
